using System.Collections.Generic;

namespace SpellCore
{
    internal class MockProviderFactory : ISpellCheckEngineFactory
    {
        private IEnumerable<ISpellCheckEngine> _engines;

        public IEnumerable<ISpellCheckEngine> Engines
        {
            get { return _engines; }
            set { _engines = value; }
        }

        #region IProviderFactory Members

        public IEnumerable<ISpellCheckEngine> GetEnginesForWritingSystem(string writingSystemId)
        {
            return Engines;
        }

        #endregion
    }
}